package com.adnaan.restaurant.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * author: adnaan
 * create: 2023-12-10 20:12
 * Description:
 */
@Data
public class ResOrder {

    private Long id;

    private String detail;

    private Long userId;

    private Integer totalPrice;

    private String status;

    private String address;

    private Long shopId;

    private String shopName;

    private Integer star;

    private String evaluate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String userNickname;

    private String avatar;
}
